package com.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.*;
import java.io.Serializable;
@Entity
@Data
public class WpPosts implements Serializable {
    private static final long serialVersionUID = 739668778715426461L;
    @Id
    @ApiModelProperty("主键")
    @TableId(value = "ID", type = IdType.INPUT)
    @Column(columnDefinition = "bigint")
    private Integer ID;
    private String postContent;
    private String postTitle;
}
